package G;

public class Example06 {
    public static void main(String[] args) {
        int x = 0;
        int y = 0;
        int z = 0;
        boolean a, b;
        //false & false  a是false
        a = x > 0 & y++ > 1;
        System.out.print(a);
        //上面y++运算过了 y是1
        System.out.println("y =" +y);
        //false && false b是false
        b = x > 0 && z++ > 1;
        System.out.print(b);
        //z是1
        System.out.print("z = "+z);
    }
}
